package com.finace.money.presenter.contract;

import com.finace.money.data.bean.BaseBean;
import com.finace.money.data.bean.EmptyBean;
import com.finace.money.ui.widget.BaseView;

import java.io.File;

import io.reactivex.Observable;

/**
 * Created by zhangpeng on 2018/2/1.
 */

public interface UploadImageContract {
    interface IUploadImageModel {
        Observable<BaseBean<EmptyBean>> register(String phone, String imgcode, String code, String name,
                                                 String email, String cardno, String province, String city,
                                                 String county, String specific_address, File face_card, File identity_card);

    }

    interface View extends BaseView{

        void commitSucess();
    }
}
